package cn.lili.modules.order.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.order.trade.client.OrderLogClient;
import cn.lili.modules.order.trade.entity.dos.OrderLog;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-13 17:35
 * @description: 订单日志Fallback
 */
public class OrderLogFallback implements OrderLogClient {
    @Override
    public List<OrderLog> getOrderLog(String orderSn) {
        throw new ServiceException();
    }

    @Override
    public void saveBatch(List<OrderLog> orderLogs) {
        throw new ServiceException();
    }
}
